package com.lovo.dimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品信息表
 * </p>
 *
 * @author MaoYue
 * @since 2022年11月15日
 */
@Getter
@Setter
@TableName("ssc_product")
@ApiModel(value = "SscProduct对象", description = "商品信息表")
public class SscProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品ID")
    @TableId(value = "pk_product_id", type = IdType.ASSIGN_ID)
    private Long productId;

    @ApiModelProperty("商品名")
    @TableField("product_name")
    private String productName;

    @ApiModelProperty("商品类型")
    @TableField("product_type")
    private String productType;

    @ApiModelProperty("商品状态")
    @TableField("product_status")
    private Integer productStatus;

    @ApiModelProperty("商品简短描述")
    @TableField("product_short_description")
    private String productShortDescription;

    @ApiModelProperty("销量")
    @TableField("product_sales")
    private Integer productSales;

    @ApiModelProperty("商品售价")
    @TableField("product_price")
    private Integer productPrice;

    @ApiModelProperty("美化状态")
    @TableField("product_beauty")
    private Integer productBeauty;


}
